home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1993 November / JCSM Shareware Collection - 1993-11.iso / cl060 / oasis10j.lzh / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1992-09-04  |  3.4 KB  |  82 lines

  1. Echo Off
  2. REM ******************************************************
  3. REM * File   : Install.bat
  4. REM * Author : Stephen Williams
  5. REM * Date   : Sept. 3, 1992
  6. REM * Revised:
  7. REM * Purpose: Installation - OASIS 1.0
  8. REM ******************************************************
  9. if "%1" == ""    goto help
  10. if "%1" == "?"   goto help
  11. if "%1" == "A:"  goto help
  12. if "%1" == "a:"  goto help
  13. if "%1" == "B:"  goto help
  14. if "%1" == "b:"  goto help
  15. if "%1" == "A"   goto FLOP
  16. if "%1" == "a"   goto FLOP
  17. if "%1" == "B"   goto FLOP
  18. if "%1" == "b"   goto FLOP
  19.  
  20. for %%f in (C:,c:,D:,d:,E:,e:,F:,f:,G:,g:,H:,h:,I:,i:) do if %1.==%%f. goto Help
  21. for %%f in (J:,j:,K:,k:,L:,l:,M:,m:,N:,n:,O:,o:,P:,p:) do if %1.==%%f. goto Help
  22. for %%f in (Q:,q:,R:,r:,S:,s:,T:,t:,U:,u:,V:,v:,W:,w:) do if %1.==%%f. goto Help
  23. for %%f in (X:,x:,Y:,y:,Z:,z:)                         do if %1.==%%f. goto Help
  24.  
  25. REM **************************
  26. REM HARD DISK INSTALLATION
  27. REM **************************
  28. if not exist %1:\nul goto help
  29. CLS
  30. Echo ***        OASIS 1.0 Installation           ***
  31. Echo *                                             *
  32. Echo * Installing Program & Data Files on %1:\OASIS *
  33. Echo *                                             *
  34. Echo \/                                           \/
  35. OASIS10 %1:\OASIS
  36. COPY README.1ST %1:\OASIS\README.1ST
  37. %1:
  38. CD \OASIS
  39. Echo *** OASIS Successfully Installed on %1:\OASIS
  40. Echo ***
  41. Echo *** To run program type "OASIS"
  42. goto End
  43.  
  44. REM ************************************
  45. REM FLOPPY DISK INSTALLATION
  46. REM ************************************
  47. :FLOP
  48. REM OASIS Must be Installed on a Hard Disk.
  49. REM
  50. REM *****************************
  51. REM Help For OASIS INSTALLATION
  52. REM *****************************
  53. :Help
  54. Cls
  55. Echo +----------------------------------------------------------------+
  56. Echo !  OWL Automated Sales & Invoicing System (OASIS) Version 1.0    !
  57. Echo !                                                                !
  58. Echo !                    Installation Help                           !
  59. Echo !                                                                !
  60. Echo !        OASIS must be installed on a HARD DISK drive            !
  61. Echo !                                                                !
  62. Echo ! The install program decompresses archive files and copies them !
  63. Echo ! to subdirectory \OASIS on the designated hard disk drive.  If  !
  64. Echo ! \OASIS does not exist on the designated hard disk, it will be  !
  65. Echo ! created for you.                                               !
  66. Echo !                                                                !
  67. Echo ! Syntax for the command is:  INSTALL d                          !
  68. Echo !        where "d" is the hard disk drive letter where you want  !
  69. Echo !        the program installed.                                  !
  70. Echo !                                                                !
  71. Echo ! Examples:  INSTALL C   (Note no colon is typed)                !
  72. Echo !            INSTALL D                                           !
  73. Echo !            etc.                                                !
  74. Echo +----------------------------------------------------------------+
  75. Echo *************    Program not installed.     **********************
  76. goto bad_end
  77. REM ************************
  78. REM End Of OASIS Installation
  79. REM ************************
  80. :end
  81. Echo =-=-=-=-=-=-=-=-=-=- INSTALLATION COMPLETE -=-=-=-=-=-=-=-=-=-=-=-=
  82. :bad_end